package cn.rebeater.navigationclient.ui.notifications;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import cn.rebeater.navigationclient.ui.dashboard.NavigationData;


public class NotificationsViewModel extends ViewModel {
    private final MutableLiveData<double[]> bias;
    private final MutableLiveData<double[]> std;
    public NotificationsViewModel() {
        bias = new MutableLiveData<>();
        std = new MutableLiveData<>();
    }
    public void addBias(double[] nav){
        bias.setValue(nav);
    }
    public void addStd(double[] nav){
        std.setValue(nav);
    }
    public LiveData<double[] > getBias() {
        return bias;
    }
    public LiveData<double[] > getStd() {
        return std;
    }
}